#ifndef SORTER_H
#define SORTER_H

#include "utils.h"
#include "sortstrategy.h"

class Sorter
{
public:
	enum SortType { heap, merge, bubble };
	
	Sorter(SortStrategy *s) : s(s) {}
	~Sorter() {}
	
	void sort(vector<Edge> &v);
	void setStrategy(SortStrategy *s);
private:
	SortStrategy *s;

	SortType type;
};

#endif
